<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
      xmlns:h="http://xmlns.jcp.org/jsf/html"
      xmlns:f="http://xmlns.jcp.org/jsf/core">

    <ui:composition template="/template.xhtml">
        <ui:define name="title">
            <h:outputText value="#{bundle.ViewTInventoryTitle}"></h:outputText>
        </ui:define>
        <ui:define name="body">
            <h:panelGroup id="messagePanel" layout="block">
                <h:messages errorStyle="color: red" infoStyle="color: green" layout="table"/>
            </h:panelGroup>
            <h:form>
                <h:panelGrid columns="2">
                    <h:outputText value="#{bundle.ViewTInventoryLabel_id}"/>
                    <h:outputText value="#{tInventoryController.selected.id}" title="#{bundle.ViewTInventoryTitle_id}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_unitId}"/>
                    <h:outputText value="#{tInventoryController.selected.unitId}" title="#{bundle.ViewTInventoryTitle_unitId}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_brand}"/>
                    <h:outputText value="#{tInventoryController.selected.brand}" title="#{bundle.ViewTInventoryTitle_brand}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_series}"/>
                    <h:outputText value="#{tInventoryController.selected.series}" title="#{bundle.ViewTInventoryTitle_series}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_dotNumber}"/>
                    <h:outputText value="#{tInventoryController.selected.dotNumber}" title="#{bundle.ViewTInventoryTitle_dotNumber}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_vendor}"/>
                    <h:outputText value="#{tInventoryController.selected.vendor}" title="#{bundle.ViewTInventoryTitle_vendor}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_wheelPosition}"/>
                    <h:outputText value="#{tInventoryController.selected.wheelPosition}" title="#{bundle.ViewTInventoryTitle_wheelPosition}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_purchasePrice}"/>
                    <h:outputText value="#{tInventoryController.selected.purchasePrice}" title="#{bundle.ViewTInventoryTitle_purchasePrice}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_otherPrice}"/>
                    <h:outputText value="#{tInventoryController.selected.otherPrice}" title="#{bundle.ViewTInventoryTitle_otherPrice}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_poNumber}"/>
                    <h:outputText value="#{tInventoryController.selected.poNumber}" title="#{bundle.ViewTInventoryTitle_poNumber}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_decomm}"/>
                    <h:outputText value="#{tInventoryController.selected.decomm}" title="#{bundle.ViewTInventoryTitle_decomm}"/>
                    <h:outputText value="#{bundle.ViewTInventoryLabel_size1}"/>
                    <h:outputText value="#{tInventoryController.selected.size1}" title="#{bundle.ViewTInventoryTitle_size1}"/>
                </h:panelGrid>
                <br />
                <h:commandLink action="#{tInventoryController.destroyAndView}" value="#{bundle.ViewTInventoryDestroyLink}"/>
                <br />
                <br />
                <h:link outcome="Edit" value="#{bundle.ViewTInventoryEditLink}"/>
                <br />
                <h:commandLink action="#{tInventoryController.prepareCreate}" value="#{bundle.ViewTInventoryCreateLink}" />
                <br />
                <h:commandLink action="#{tInventoryController.prepareList}" value="#{bundle.ViewTInventoryShowAllLink}"/>
                <br />
                <br />
                <h:link outcome="/index" value="#{bundle.ViewTInventoryIndexLink}"/>

            </h:form>
        </ui:define>
    </ui:composition>

</html>
